<template>
	<view>
		<header-bar :title=titleName>
			<uni-icons type="undo" size="23" slot="back"></uni-icons>
		</header-bar>
		<view class="order-item">
			<view class="good-box">
				<image
					src="https://img12.360buyimg.com/n7/jfs/t1/222679/40/3777/426084/619f2248E26970658/53d4006b95a8b421.jpg"
					class="good-img">
				</image>
				<view class="good-info">
					<view class="good-title">
						手拉犁人工小型开沟神器农用翻土松土起垄器翻地机耕地机...
					</view>
					<view class="good-time">
						刚买回来用了三次
					</view>
					<view class="good-bottom">
						<view class="good-price p1">
							¥{{243.3}}
						</view>
					</view>
					<view class="img">
						<image class="image_radius" src="https://s2.loli.net/2022/05/26/rdRQtgNxYy8WFIw.jpg" />
						<text class="pet">猫猫没有猫耳朵</text>
					</view>
				</view>
			</view>
		</view>
		<view class="order-item">
			<view class="good-box">
				<image
					src="https://img12.360buyimg.com/n1/jfs/t1/209095/23/723/143579/6141ff31E70061a2d/27cc1f463156512c.jpg.avif"
					class="good-img">
				</image>
				<view class="good-info">
					<view class="good-title">
						朔铠浇花喷壶家用小喷水壶园艺工具洒水壶气压式消毒喷雾器...
					</view>
					<view class="good-time">
						刚买回来还没用过
					</view>
					<view class="good-bottom">
						<view class="good-price p1">
							¥{{5.6}}
						</view>
					</view>
					<view class="img">
						<image class="image_radius" src="https://s2.loli.net/2022/05/24/gkNqhEZ8MSOVs79.jpg" />
						<text class="pet">鹿鹿迷路了i</text>
					</view>
				</view>
			</view>
		</view>
		<view class="order-item">
			<view class="good-box">
				<image
					src="https://img11.360buyimg.com/n1/jfs/t1/135257/32/22355/280244/61e90204E52ca6244/a5bc31c99ad3401e.jpg.avif"
					class="good-img">
				</image>
				<view class="good-info">
					<view class="good-title">
						尊福林 园艺工具套装家用种植工具箱种菜种花多肉松土铲子...
					</view>
					<view class="good-time">
						刚买回来里面用过一个工具
					</view>
					<view class="good-bottom">
						<view class="good-price p1">
							¥{{78.5}}
						</view>
					</view>
					<view class="img">
						<image class="image_radius" src="https://s2.loli.net/2022/05/26/rdRQtgNxYy8WFIw.jpg" />
						<text class="pet">猫猫没有猫耳朵</text>
					</view>
				</view>
			</view>
		</view>
		<view class="order-item">
			<view class="good-box">
				<image
					src="https://img11.360buyimg.com/n1/jfs/t1/185124/21/25006/842299/628b8da8E6ec44409/3834c97c65d0bfec.png.avif"
					class="good-img">
				</image>
				<view class="good-info">
					<view class="good-title">
						农业肥料下肥双管手动施肥器追肥器玉米果树颗粒肥撒肥机...
					</view>
					<view class="good-time">
						刚买回来还没用过
					</view>
					<view class="good-bottom">
						<view class="good-price p1">
							¥{{145.5}}
						</view>
					</view>
					<view class="img">
						<image class="image_radius" src="https://s2.loli.net/2022/05/24/gkNqhEZ8MSOVs79.jpg" />
						<text class="pet">鹿鹿迷路了i</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				titleName: "我的收藏",
			}
		}
	}
</script>

<style lang="scss" scoped>
	.order-item {
		width: 740rpx;
		height: 280rpx;
		background: #d2fdff;
		border: 1px solid lightgrey;
		opacity: 1;
		display: flex;
		margin-top: 30rpx;
		margin-left: 3rpx;
		border-radius: 20px;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		position: relative;
	}

	.order-item .good-box {
		width: 670rpx;
		height: 210rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.order-item .good-box .good-img {
		margin-top: 35px;
		width: 230rpx;
		height: 230rpx;
		opacity: 1;
		border-radius: 16rpx;
	}

	.good-box .good-info {
		margin-top: 80rpx;
		width: 420rpx;
		height: 240rpx;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}

	.good-info .good-title {
		width: 420rpx;
		height: 88rpx;
		font-size: 29rpx;
		font-family: PingFang SC;
		font-weight: bold;
		line-height: 45rpx;
		color: #000000;
		opacity: 1;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.good-time {
		color: orange;
		font-size: 28rpx;
		margin-top: 5rpx;
	}

	.good-info .good-bottom {
		width: 100%;
		height: 50rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.good-info .good-bottom .good-price {
		margin-top: -16rpx;
		height: 10rpx;
		font-size: 32rpx;
		font-family: PingFang SC;
		font-weight: bold;
		line-height: 10rpx;
		color: red;
		opacity: 1;
	}

	.img {
		width: 100%;

		.image_radius {
			float: left;
			width: 60rpx;
			height: 60rpx;
			border-radius: 50%;
		}

		.pet {
			float: left;
			display: block;
			margin-top: 10rpx;
			margin-left: 20rpx;
			font-size: 30rpx;
		}
	}
</style>
